import { HttpClient } from '../http-client';
import { HttpConfig } from '../http-config';

const prefix = HttpConfig.HttpPrefix;

export default {
  dustList: (params: Object): any => {
    return HttpClient.get(`${prefix}/picImageServer/dust_process/list`, params);
  },
  getById: (params: Object): any => {
    return HttpClient.get(`${prefix}/picImageServer/dust_process/getById/` + params);
  },
  export: (params: Object): any => {
    return HttpClient.download(`${prefix}/picImageServer/dust_process/export`, params);
  },
};
